Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gui/design] Update Line & Freeform tools to not overcount tiles #1274

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

jfisher446
Copy link
Contributor

Fixes: DFHack/dfhack#3927

Validations:

Simple line now counts properly:
image

Symmetrical double-line now counts property:
image

Counts properly even w/incresed line thickness:
image

Single point curved line still counts properly:
image

Dual point curved line still counts properly:
image

Freeform line which is open now counts properly:
image

Freeform line which is closed now counts properly:
image

Even the xtra thikk, freeform lines now count properly:
image

Copy link
Member

@myk002 myk002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a line in the "Fixes" section of the "Future" version in changelog.txt?

https://github.com/DFHack/scripts/blob/master/changelog.txt#L40

Otherwise, looks good! Thanks!

Also, please feel free to add your name to https://github.com/DFHack/dfhack/blob/develop/docs/about/Authors.rst

@jfisher446
Copy link
Contributor Author

@myk002 Updated changelog. Created Authors PR: DFHack/dfhack#4869

@myk002 myk002 merged commit 02d90fe into DFHack:master Aug 23, 2024
10 checks passed
@jfisher446 jfisher446 deleted the jfisher446-design-overcount branch August 24, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

gui/design overcounts dug tiles for lines
2 participants